Public Class Logon
Inherits Message

'Component: Header
Private m_Header As Header

<FieldInfo(GetType(Header), 0)> _
Public Property Header() As Header
Get
Return m_Header
End Get
Set (value As Header)
m_Header = value
End Set
End Property



Private m_EncryptMethod As EncryptMethod

<FieldInfo(GetType(EncryptMethodFieldInfo), 1)> _
Public Property EncryptMethod() As EncryptMethod
Get
Return m_EncryptMethod
End Get
Set (value As EncryptMethod)
m_EncryptMethod = value
End Set
End Property

Private m_HeartBtInt As Int32

<FieldInfo(GetType(HeartBtIntFieldInfo), 2)> _
Public Property HeartBtInt() As Int32
Get
Return m_HeartBtInt
End Get
Set (value As Int32)
m_HeartBtInt = value
End Set
End Property

Private m_RawDataLength As Int32

<FieldInfo(GetType(RawDataLengthFieldInfo), 3)> _
Public Property RawDataLength() As Int32
Get
Return m_RawDataLength
End Get
Set (value As Int32)
m_RawDataLength = value
End Set
End Property

Private m_RawData As Byte()

<FieldInfo(GetType(RawDataFieldInfo), 4)> _
Public Property RawData() As Byte()
Get
Return m_RawData
End Get
Set (value As Byte())
m_RawData = value
End Set
End Property

Private m_ResetSeqNumFlag As Boolean

<FieldInfo(GetType(ResetSeqNumFlagFieldInfo), 5)> _
Public Property ResetSeqNumFlag() As Boolean
Get
Return m_ResetSeqNumFlag
End Get
Set (value As Boolean)
m_ResetSeqNumFlag = value
End Set
End Property

Private m_NextExpectedMsgSeqNum As Int32

<FieldInfo(GetType(NextExpectedMsgSeqNumFieldInfo), 6)> _
Public Property NextExpectedMsgSeqNum() As Int32
Get
Return m_NextExpectedMsgSeqNum
End Get
Set (value As Int32)
m_NextExpectedMsgSeqNum = value
End Set
End Property

Private m_MaxMessageSize As Int32

<FieldInfo(GetType(MaxMessageSizeFieldInfo), 7)> _
Public Property MaxMessageSize() As Int32
Get
Return m_MaxMessageSize
End Get
Set (value As Int32)
m_MaxMessageSize = value
End Set
End Property

'Group: NoMsgTypes
Private m_NoMsgTypes As New List(Of NoMsgTypesGroup)

<FieldInfo(GetType(NoMsgTypesGroup), 8)> _
Public ReadOnly Property NoMsgTypes As List(Of NoMsgTypesGroup)
Get
Return m_NoMsgTypes
End Get
End Property

Public Class NoMsgTypesGroup
Inherits Group

Private m_RefMsgType As String

<FieldInfo(GetType(RefMsgTypeFieldInfo), 0)> _
Public Property RefMsgType() As String
Get
Return m_RefMsgType
End Get
Set (value As String)
m_RefMsgType = value
End Set
End Property

Private m_MsgDirection As Char

<FieldInfo(GetType(MsgDirectionFieldInfo), 1)> _
Public Property MsgDirection() As Char
Get
Return m_MsgDirection
End Get
Set (value As Char)
m_MsgDirection = value
End Set
End Property


End Class



Private m_TestMessageIndicator As Boolean

<FieldInfo(GetType(TestMessageIndicatorFieldInfo), 9)> _
Public Property TestMessageIndicator() As Boolean
Get
Return m_TestMessageIndicator
End Get
Set (value As Boolean)
m_TestMessageIndicator = value
End Set
End Property

Private m_Username As String

<FieldInfo(GetType(UsernameFieldInfo), 10)> _
Public Property Username() As String
Get
Return m_Username
End Get
Set (value As String)
m_Username = value
End Set
End Property

Private m_Password As String

<FieldInfo(GetType(PasswordFieldInfo), 11)> _
Public Property Password() As String
Get
Return m_Password
End Get
Set (value As String)
m_Password = value
End Set
End Property


'Component: Trailer
Private m_Trailer As Trailer

<FieldInfo(GetType(Trailer), 12)> _
Public Property Trailer() As Trailer
Get
Return m_Trailer
End Get
Set (value As Trailer)
m_Trailer = value
End Set
End Property


End Class

